import request from '@/utils/request'
const service1 = window.lwConfig.services.auth
// const service1 = 'http://192.168.10.165:6180'
const service = window.lwConfig.services.wecom + '/lxqr'

// ************************* 数据评估平台 ***************************************
// 用户列表
export function getUserList(params) {
  return request({
    url: service1 + '/sjhg/system/user/list',
    method: 'get',
    params,
  })
}

// 设置系统配置
export function saveUser(data) {
  return request({
    url: service1 + '/sjhg/system/user/save',
    method: 'post',
    data: data,
  })
}

//移除账号
export function removeUser(params){
  return request({
    url: service1 + '/sjhg/system/user/remove',
    method: 'get',
    params,
  })
}


//停用或启用用户
export function forbidUser(params){
  return request({
    url: service1 + '/sjhg/system/user/forbid',
    method: 'get',
    params,
  })
}
